import pandas as pd
list = [110, 120, 105],[56, 45, 344],[435, 54, 344],[324 , 23, 434]
index = ['会飞的猪头肉','李珊','招生','刘文']
columns = ['语文','数学','英语']
df = pd.DataFrame(list, index, columns)
df1 = df.rename({'英语':'政治'}, axis='columns')
df1['政治'] = [87, 45, 33, 22]
print(df)
print(df1)